package com.atguigu.test06;

import com.atguigu.test06.bean.Department;

import java.util.List;

/**
 * @author haoranlu
 * @project IntelliJ IDEA
 */
public interface DepartmentDAO {
    void addDepartment(Department dept);
    void updateDepartment(Department dept);
    void deleteDepartment(int depid);
    Department getById(int depid);
    List<Department> getAll();
}
